package top.tagao.m02_creationalPatterns.c_02_singleton;

/**
 * 懒汉式
 * @author fu-xiao-liu
 * @Date 2022/6/22 23:39
 */
public class Singleton4 {
    private  Singleton4(){}

    private  static  Singleton4 singleton4 = new Singleton4();

    public   static  Singleton4 getInstance(){
        return singleton4;
    }
}
